package com.meida.module.bus.client.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.meida.common.mybatis.base.entity.AbstractEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.meida.common.mybatis.annotation.TableAlias;

/**
 * 
 *
 * @author flyme
 * @date 2022-03-01
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bus_company_goods")
@TableAlias("bcg")
@ApiModel(value="BusCompanyGoods对象", description="")
public class BusCompanyGoods extends AbstractEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "companyGoodsId", type = IdType.ASSIGN_ID)
    private String companyGoodsId;

    @ApiModelProperty(value = "公司Id")
    private String companyId;

    @ApiModelProperty(value = "商品Id")
    private String goodsId;

    @ApiModelProperty(value = "给公司的商品价格")
    private BigDecimal goodsPrice;

    @ApiModelProperty(value = "上架状态")
    private Integer goodsState;

    @ApiModelProperty(value = "过期日期")
    private String expireDate;

    private String createDate;

}
